package com.firefoxking.mysite.service.site;

import com.firefoxking.mysite.dao.dto.StatisticsDto;
import com.firefoxking.mysite.entity.Comment;
import com.firefoxking.mysite.entity.Content;

import java.util.List;

public interface SiteService {

    List<Comment> getComments(int limit);

    List<Content> getNewArticles(int limit);

    /**
     * 获取后台统计数
     * @return
     */
    StatisticsDto getStatistics();
}
